package org.a1.ectltool.entity;

public class Time
{
	private int timeID;
	private int year;
	private int quater;
	
	public Time(int timeID, int year, int quater)
	{
		this.timeID = timeID;
		this.year = year;
		this.quater = quater;
	}
	
	public Time(int year, int quater)
	{
		this.timeID = -1;
		this.year = year;
		this.quater = quater;
	}
	
	public int getTimeID()
	{
		return timeID;
	}
	
	public void setTimeID(int timeID)
	{
		this.timeID = timeID;
	}
	
	public int getYear()
	{
		return year;
	}
	
	public int getQuater()
	{
		return quater;
	}
	
	public String toString()
	{
		String ret = "";
		
		ret += "Time {\r\n";
		
		ret += "Year: " + year + "\r\n";
		ret += "Quater: " + quater + "\r\n";
		
		ret += "}\\Time";
		
		return ret;
	}
}
